package com.ncucoder.bridge;

import com.ncucoder.bridge.impl.GreenCircle;
import com.ncucoder.bridge.impl.RedCircle;

/**
 * @author <a href="https://edit.ncucoder.com">hsowan</a>
 * @since 18-12-4 上午9:43
 **/
public class Test {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
